package com.zxc.mallProduct;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

// mall-product模块的主启动类
@MapperScan(basePackages = "com.zxc.mallProduct.dao")
@EnableDiscoveryClient  // 启用微服务注册和发现
@SpringBootApplication
public class SpringBootStart_mallProduct {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootStart_mallProduct.class,args);
    }
}
